import { https } from '../utils/https'
import type { PageParams } from '../types/global'
import type { HotResult } from '../types/hot'
type hotParams = PageParams & { subType?: string }
// 获取热门推荐特惠推荐
export const getHotRecommenApi = (url: string, data?: hotParams) => {
  return https<HotResult>({
    method: 'GET',
    url,
    data,
  })
}
